package com.strategy.demo04;

public class EmpFilterByAge implements EmpFilterInterface<Emp> {
    @Override
    public boolean test(Emp emp) {
        return emp.getAge() >=35;
    }
}
